linux.git
10 months agoExport symbols needed by binder
Ben Hutchings [Mon, 5 Aug 2024 01:26:48 +0000 (03:26 +0200)]
Export symbols needed by binder

Bug-Debian: https://bugs.debian.org/901492

We want to enable use of the Android binder driver to support
Waydroid, but it should not be built-in as that would waste resources
and increase security attack surface on systems that don't need it.

Export the currently un-exported symbols it depends on.

Gbp-Pq: Topic debian
Gbp-Pq: Name export-symbols-needed-by-android-drivers.patch

10 months agowireless: Add Debian wireless-regdb certificates
Ben Hutchings [Fri, 13 Apr 2018 19:10:28 +0000 (20:10 +0100)]
wireless: Add Debian wireless-regdb certificates

Forwarded: not-needed

This hex dump is generated using:

{
    for cert in debian/certs/wireless-regdb-*.pem; do
        openssl x509 -in $cert -outform der;
    done
} | hexdump -v -e '1/1 "0x%.2x," "\n"' > net/wireless/certs/debian.hex

Gbp-Pq: Topic debian
Gbp-Pq: Name wireless-add-debian-wireless-regdb-certificates.patch

10 months agotools: install perf python bindings
Adriaan Schmidt [Mon, 4 Apr 2022 11:38:33 +0000 (13:38 +0200)]
tools: install perf python bindings

Bug-Debian: http://bugs.debian.org/860957
Forwarded: not-needed

Gbp-Pq: Topic debian
Gbp-Pq: Name tools-perf-install-python-bindings.patch

10 months agolinux-tools: Install perf-read-vdso{,x}32 in directory under /usr/lib
Ben Hutchings [Mon, 11 May 2015 02:51:07 +0000 (02:51 +0000)]
linux-tools: Install perf-read-vdso{,x}32 in directory under /usr/lib

Gbp-Pq: Topic debian
Gbp-Pq: Name tools-perf-perf-read-vdso-in-libexec.patch

10 months ago[sh4] Fix uImage build
Nobuhiro Iwamatsu [Sun, 30 Mar 2025 14:50:14 +0000 (16:50 +0200)]
[sh4] Fix uImage build

Bug-Debian: https://bugs.debian.org/569034
Forwarded: not-needed

[bwh: This was added without a description, but I think it is done
 only to avoid a build-dependency on u-boot-tools.]

Gbp-Pq: Topic debian
Gbp-Pq: Name arch-sh4-fix-uimage-build.patch

10 months agoEnable R2 to R6 emulator by default
YunQiang Su [Mon, 14 May 2018 08:16:18 +0000 (16:16 +0800)]
Enable R2 to R6 emulator by default

Forwarded: not-needed

In upstream code, 'mipsr2emu' kernel option is needed
to enable R2 to R6 emulator.  Since we need r6 kernel
for our r2 port, let's always enable it.

Gbp-Pq: Topic debian
Gbp-Pq: Name mips-enable-r2-to-r6-emu-by-default.patch

10 months agoUse RELAXED ieee754 mode for Loongson-3 as 3A 4000 is 2008-only
YunQiang Su [Mon, 16 Nov 2020 01:11:00 +0000 (09:11 +0800)]
Use RELAXED ieee754 mode for Loongson-3 as 3A 4000 is 2008-only

Forwarded: not-needed

There are 2 mode of value of IEEE NaN hardcoded by CPU.
Currently, our mipsel/mips64el port is in so-called lagacy mode.
Loongson 3A 4000 is set as the so-called 2008 mode.

To make Debian workable on Loongson 3A 4000, we need set the kerenl in
RELAXED mode.

https://web.archive.org/web/20180830093617/https://dmz-portal.mips.com/wiki/MIPS_ABI_-_NaN_Interlinking

[bwh: Update for addition of EMULATED mode in 6.11]

Gbp-Pq: Topic debian
Gbp-Pq: Name mips-ieee754-relaxed.patch

10 months agoDisable uImage generation for mips generic
YunQiang Su [Mon, 14 May 2018 08:16:18 +0000 (16:16 +0800)]
Disable uImage generation for mips generic

Forwarded: not-needed

MIPS generic trys to generate uImage when build, which then ask for
u-boot-tools.

[bwh: Updated for 5.17:
 - zload-y is no longer assigned here and appears to default to empty
 - Adjust context]

Gbp-Pq: Topic debian
Gbp-Pq: Name mips-boston-disable-its.patch

10 months agokbuild: Make the toolchain variables easily overwritable
Bastian Blank [Sun, 22 Feb 2009 14:39:35 +0000 (15:39 +0100)]
kbuild: Make the toolchain variables easily overwritable

Forwarded: not-needed

Allow make variables to be overridden for each flavour by a file in
the build tree, .kernelvariables.

We currently use this for ARCH, KERNELRELEASE, CC, and in some cases
also CROSS_COMPILE, KCFLAGS.

This file can only be read after we establish the build tree, and all
use of $(ARCH) needs to be moved after this.

[bwh: Updated for 5.3: include .kernelvariables from current directory
 rather than using undefined $(obj).]

Gbp-Pq: Topic debian
Gbp-Pq: Name kernelvariables.patch

10 months agoMake mkcompile_h accept an alternate timestamp string
Ben Hutchings [Tue, 12 May 2015 18:29:22 +0000 (19:29 +0100)]
Make mkcompile_h accept an alternate timestamp string

Forwarded: not-needed

We want to include the Debian version in the utsname::version string
instead of a full timestamp string.  However, we still need to provide
a standard timestamp string for gen_initramfs_list.sh to make the
kernel image reproducible.

Make mkcompile_h use $KBUILD_BUILD_VERSION_TIMESTAMP in preference to
$KBUILD_BUILD_TIMESTAMP.

Gbp-Pq: Topic debian
Gbp-Pq: Name uname-version-timestamp.patch

10 months agoInclude package version along with kernel release in stack traces
Ben Hutchings [Tue, 24 Jul 2012 02:13:10 +0000 (03:13 +0100)]
Include package version along with kernel release in stack traces

Forwarded: not-needed

For distribution binary packages we assume
$DISTRIBUTION_OFFICIAL_BUILD, $DISTRIBUTOR and $DISTRIBUTION_VERSION
are set.

Gbp-Pq: Topic debian
Gbp-Pq: Name version.patch

10 months agoDocumentation: Fix broken link to CIPSO draft
Ben Hutchings [Sat, 24 Aug 2019 18:00:41 +0000 (19:00 +0100)]
Documentation: Fix broken link to CIPSO draft

Forwarded: not-needed

We exclude the CIPSO draft text as its licence is not DFSG compliant.
Link to the IETF's online version instead.

Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name documentation-fix-broken-link-to-cipso-draft.patch

10 months agovideo: Remove nvidiafb and rivafb
Ben Hutchings [Sat, 2 Jun 2012 18:53:38 +0000 (19:53 +0100)]
video: Remove nvidiafb and rivafb

Bug-Debian: https://bugs.debian.org/383481
Forwarded: no

These drivers contain register programming code provided by the
hardware vendor that appears to have been deliberately obfuscated.
This is arguably not the preferred form for modification.

These drivers are also largely redundant with nouveau.  The RIVA 128
(NV3) is not supported by nouveau but is about 15 years old and
probably discontinued 10 years ago.

Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name video-remove-nvidiafb-and-rivafb.patch

10 months agodvb-usb-af9005: mark as broken
Ben Hutchings [Mon, 17 Aug 2009 01:45:41 +0000 (02:45 +0100)]
dvb-usb-af9005: mark as broken

Forwarded: not-needed

Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name drivers-media-dvb-dvb-usb-af9005-disable.patch

10 months agoRemove microcode patches for mgsuvd (not enabled in Debian configs)
Ben Hutchings [Mon, 13 Apr 2009 16:34:00 +0000 (17:34 +0100)]
Remove microcode patches for mgsuvd (not enabled in Debian configs)

Forwarded: not-needed

Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name arch-powerpc-platforms-8xx-ucode-disable.patch

10 months agoTweak gitignore for Debian pkg-kernel using git
Ian Campbell [Thu, 17 Jan 2013 08:55:21 +0000 (08:55 +0000)]
Tweak gitignore for Debian pkg-kernel using git

Forwarded: not-needed

[bwh: Tweak further for pure git]

Gbp-Pq: Topic debian
Gbp-Pq: Name gitignore.patch

10 months agolinux (6.12.21-1) unstable; urgency=medium
Salvatore Bonaccorso [Sun, 30 Mar 2025 14:50:14 +0000 (16:50 +0200)]
linux (6.12.21-1) unstable; urgency=medium

  * New upstream stable update:
    https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.21
    - [arm64] firmware: qcom: scm: Fix error code in probe()
    - [arm64] dts: freescale: tqma8mpql: Fix vqmmc-supply
    - [arm64] dts: rockchip: remove supports-cqe from rk3588 jaguar
    - [arm64] dts: rockchip: remove supports-cqe from rk3588 tiger
    - xfrm: fix tunnel mode TX datapath in packet offload mode
    - xfrm_output: Force software GSO only in tunnel mode
    - [arm64] soc: imx8m: Remove global soc_uid
    - [arm64] soc: imx8m: Use devm_* to simplify probe failure handling
    - [arm64] soc: imx8m: Unregister cpufreq and soc dev in cleanup path
    - [arm64] dts: bcm2712: PL011 UARTs are actually r1p5
    - [arm64] dts: rockchip: Remove undocumented sdmmc property from lubancat-1
    - RDMA/rxe: Fix the failure of ibv_query_device() and ibv_query_device_ex()
      tests
    - RDMA/bnxt_re: Add missing paranthesis in map_qp_id_to_tbl_indx
    - RDMA/mlx5: Handle errors returned from mlx5r_ib_rate()
    - dma-mapping: fix missing clear bdr in check_ram_in_range_map()
    - RDMA/bnxt_re: Avoid clearing VLAN_ID mask in modify qp path
    - [arm64] RDMA/hns: Fix soft lockup during bt pages loop
    - [arm64] RDMA/hns: Fix unmatched condition in error path of
      alloc_user_qp_db()
    - [arm64] RDMA/hns: Fix invalid sq params not being blocked
    - [arm64] RDMA/hns: Fix a missing rollback in error path of
      hns_roce_create_qp_common()
    - [arm64] RDMA/hns: Fix missing xa_destroy()
    - [arm64] RDMA/hns: Fix wrong value of max_sge_rd
    - Bluetooth: Fix error code in chan_alloc_skb_cb()
    - Bluetooth: hci_event: Fix connection regression between LE and non-LE
      adapters
    - tracing: tprobe-events: Fix to clean up tprobe correctly when module
      unload
    - [arm64] net: ethernet: ti: am65-cpsw: Fix NAPI registration sequence
    - net: ipv6: fix TCP GSO segmentation with NAT
    - ipv6: Fix memleak of nhc_pcpu_rth_output in fib_check_nh_v6_gw().
    - ipv6: Set errno after ip_fib_metrics_init() in ip6_route_info_create().
    - devlink: fix xa_alloc_cyclic() error handling
    - dpll: fix xa_alloc_cyclic() error handling
    - phy: fix xa_alloc_cyclic() error handling
    - [arm64,armhf] gpu: host1x: Do not assume that a NULL domain means no DMA
      IOMMU
    - net: atm: fix use after free in lec_send()
    - net: ti: icssg-prueth: Add lock to stats
    - net: lwtunnel: fix recursion loops
    - net: ipv6: ioam6: fix lwtunnel_output() loop
    - libfs: Fix duplicate directory entry in offset_dir_lookup
    - net/neighbor: add missing policy for NDTPA_QUEUE_LENBYTES
    - Revert "gre: Fix IPv6 link-local address generation."
    - tracing: tprobe-events: Fix leakage of module refcount
    - i2c: omap: fix IRQ storms
    - net: mana: Support holes in device list reply msg
    - dt-bindings: can: renesas,rcar-canfd: Fix typo in pattern properties for
      R-Car V4M
    - can: ucan: fix out of bound read in strscpy() source
    - [arm64,armhf] can: flexcan: only change CAN state when link up in system
      PM
    - [arm64,armhf] can: flexcan: disable transceiver during system PM
    - drm/xe: Fix exporting xe buffers multiple times
    - [arm64] drm/v3d: Don't run jobs that have errors flagged in its fence
    - io_uring/net: don't clear REQ_F_NEED_CLEANUP unconditionally
    - [riscv64] dts: starfive: Fix a typo in StarFive JH7110 pin function
      definitions
    - netfs: Call `invalidate_cache` only if implemented
    - regulator: dummy: force synchronous probing
    - regulator: check that dummy regulator has been probed before using it
    - [arm64] dts: freescale: imx8mp-verdin-dahlia: add Microphone Jack to sound
      card
    - [arm64] dts: freescale: imx8mm-verdin-dahlia: add Microphone Jack to sound
      card
    - [arm64] dts: rockchip: fix pinmux of UART0 for PX30 Ringneck on Haikou
    - [arm64] dts: rockchip: fix pinmux of UART5 for PX30 Ringneck on Haikou
    - mm: fix error handling in __filemap_get_folio() with FGP_NOWAIT
    - mm/migrate: fix shmem xarray update during migration
    - mm/page_alloc: fix memory accept before watermarks gets initialized
    - proc: fix UAF in proc_get_inode()
    - memcg: drain obj stock on cpu hotplug teardown
    - [arm64] firmware: qcom: uefisecapp: fix efivars registration race
    - efi/libstub: Avoid physical address 0x0 when doing random allocation
    - keys: Fix UAF in key_put()
    - xsk: fix an integer overflow in xp_create_and_assign_umem()
    - batman-adv: Ignore own maximum aggregation size during RX
    - [arm64] soc: qcom: pdr: Fix the potential deadlock
    - pmdomain: amlogic: fix T7 ISP secpower
    - drm/radeon: fix uninitialized size issue in radeon_vce_cs_parse()
    - drm/sched: Fix fence reference count leak
    - drm/amdgpu/gfx12: correct cleanup of 'me' field with gfx_v12_0_me_fini()
    - drm/amd/display: Fix message for support_edp0_on_dp1
    - drm/amd/display: Use HW lock mgr for PSR1 when only one eDP
    - drm/amd/pm: add unique_id for gfx12
    - drm/amdgpu: Restore uncached behaviour on GFX12
    - drm/amdgpu/pm: Handle SCLK offset correctly in overdrive for smu 14.0.2
    - drm/amdgpu/pm: wire up hwmon fan speed for smu 14.0.2
    - drm/amdgpu: Remove JPEG from vega and carrizo video caps
    - drm/amdgpu: Fix MPEG2, MPEG4 and VC1 video caps max size
    - drm/amdgpu: Fix JPEG video caps max size for navi1x and raven
    - ksmbd: fix incorrect validation for num_aces field of smb_acl
    - io_uring/net: fix sendzc double notif flush
    - [arm64] KVM: arm64: Calculate cptr_el2 traps on activating traps
    - [arm64] KVM: arm64: Unconditionally save+flush host FPSIMD/SVE/SME state
    - [arm64] KVM: arm64: Remove host FPSIMD saving for non-protected KVM
    - [arm64] KVM: arm64: Remove VHE host restore of CPACR_EL1.ZEN
    - [arm64] KVM: arm64: Remove VHE host restore of CPACR_EL1.SMEN
    - [arm64] KVM: arm64: Refactor exit handlers
    - [arm64] KVM: arm64: Mark some header functions as inline
    - [arm64] KVM: arm64: Eagerly switch ZCR_EL{1,2}
    - Revert "sched/core: Reduce cost of sched_move_task when config autogroup"
    - libsubcmd: Silence compiler warning
    - [arm64] dts: rockchip: fix u2phy1_host status for NanoPi R4S
    - mm/huge_memory: drop beyond-EOF folios with the right number of refs
    - mptcp: Fix data stream corruption in the address announcement

  [ Ben Hutchings ]
  * lintian: Restore override for perf-read-vdso32 in linux-perf
  * linux-perf: Fix perf-check manual page built with asciidoctor
  * rtla: Add man page link for hwnoise(1)
  * intel-sdsi, rtla: Add "Depends: ${misc:Depends}"
  * d/copyright: Update filenames under arch/arm/boot/dts
  * d/copyright: Remove special case for drivers/crypto/vmx/*.pl
  * lintian: Override superfluous-file-pattern for d/copyright in
    linux-signed-*
  * d/salsa-ci.yml: Run lintian from the target release, not always unstable
  * [powerpc*] Revert "fbdev/offb: Update expected device name" (Closes:
    #1085949)
  * d/b/genpatch-rt: Fix subprocess cleanup with Python 3.13

  [ Salvatore Bonaccorso ]
  * sound/soc/amd/acp: Enable SND_AMD_ASOC_RENOIR as module (Closes: #1101155)
  * d/b/genpatch-rt: Drop now unused 'io' module.

  [ Vagrant Cascadian ]
  * drivers/net/wireless/realtek/rtw88: Enable RTW88_8723CS as a module

  [ Miguel Bernal Marin ]
  * [amd64,arm64/cloud] Enable virtualisation drivers on cloud flavours,
    (Closes: #1101378)
    - drivers/virt: Enable VIRT_DRIVERS
    - drivers/virt: Enable VMGENID
    - drivers/virt/nitro_enclaves: Enable NITRO_ENCLAVES as module
    - drivers/virt/coco/sev-guest: Enable SEV_GUEST as module
    - drivers/virt/coco/tdx-guest: Enable TDX_GUEST_DRIVER as module

[dgit import unpatched linux 6.12.21-1]

10 months agoImport linux_6.12.21.orig.tar.xz
Salvatore Bonaccorso [Sun, 30 Mar 2025 14:50:14 +0000 (16:50 +0200)]
Import linux_6.12.21.orig.tar.xz

[dgit import orig linux_6.12.21.orig.tar.xz]

10 months agoImport linux_6.12.21-1.debian.tar.xz
Salvatore Bonaccorso [Sun, 30 Mar 2025 14:50:14 +0000 (16:50 +0200)]
Import linux_6.12.21-1.debian.tar.xz

[dgit import tarball linux 6.12.21-1 linux_6.12.21-1.debian.tar.xz]